package com.digua.base.util

import com.digua.base.BuildConfig

object CacheUtils {


    fun setIsDebug(isDebug: Boolean) {
        SPUtils.put("isDebug", isDebug)
    }

    fun isDebug(): Boolean {
        return if (BuildConfig.isDebug) {
            SPUtils.getBoolean("isDebug", BuildConfig.isDebug)
        } else false
    }
}